widgetAccuracy = new dynamicWidget("widgetAccuracy","Accuracy","TEXT","updateAccuracy(~~icon)",1000,"actionAccuracy()","initAccuracy(~~icon)")

var direction=0;
function initAccuracy(elementID){
   
   var element = document.getElementById(elementID);
   element.innerHTML=getAccuracyLevel()+"%";
}

function actionAccuracy(){
	setTimeout(showWalletHelp,0);
}

function updateAccuracy(elementID){
   //console.log("Update element Accuracy");
   var element = document.getElementById(elementID);
   element.innerHTML=getAccuracyLevel()+"%";
}
